<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>vue的双重绑定v-model</title>
    <script src="https://cdn.bootcss.com/vue/2.5.17-beta.0/vue.min.js"></script>
</head>
<body>
<div id="app">
<!--    文本框输入，script里面的额title就会被赋值， {{title}}就会获取script值-->
    <input type="text" v-model="title">
    {{title}}
</div>
<script type="text/javascript">
    new Vue({
       el:"#app",
       data:{
           title:""
       }
    });
</script>

</body>
</html>